package com.datang.petstore.entity;

import java.io.Serializable;
import java.util.Date;

public class MicroblogTransmitRecord implements Serializable {
    private Integer id;

    private String userId;

    private String microblogUserId;

    private Integer microblogId;

    private Integer newMicroblogId;

    private Date date;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getMicroblogUserId() {
        return microblogUserId;
    }

    public void setMicroblogUserId(String microblogUserId) {
        this.microblogUserId = microblogUserId == null ? null : microblogUserId.trim();
    }

    public Integer getMicroblogId() {
        return microblogId;
    }

    public void setMicroblogId(Integer microblogId) {
        this.microblogId = microblogId;
    }

    public Integer getNewMicroblogId() {
        return newMicroblogId;
    }

    public void setNewMicroblogId(Integer newMicroblogId) {
        this.newMicroblogId = newMicroblogId;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", userId=").append(userId);
        sb.append(", microblogUserId=").append(microblogUserId);
        sb.append(", microblogId=").append(microblogId);
        sb.append(", newMicroblogId=").append(newMicroblogId);
        sb.append(", date=").append(date);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}